<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Builder;

class TestingPartRecord extends BaseModel
{
    protected $table = 'testing_part_record';

    protected $fillable = ['id', 'uid', 'tid', 'dimension', 'evaluation_times', 'answers', 'final_answers', 'result', 'add_time'];

    protected function performInsert(Builder $query)
    {
        $this->add_time = time();
        $query->setModel($this);

        return parent::performInsert($query); // TODO: Change the autogenerated stub
    }

    public $timestamps = false;
}
